package com.haiqi.modules.report.web;

import com.github.pagehelper.PageInfo;
import com.haiqi.common.BaseController;
import com.haiqi.common.bean.PageBean;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpSession;
import java.util.HashMap;

/**
 * Created by hythzx on 2016/5/24.
 * 锚地申请
 */
@RequestMapping("/manage/report/anchor")
@Controller
public class AnchorApplyController extends BaseController{

    /**
     * 本菜单的code
     */
    private String menuCode = "anchorApply";

    @RequestMapping("/list")
    public String list(PageBean pageBean, HttpSession session, Model model){
        generateMenuCode(session, menuCode);
        model.addAttribute("pageInfo",new PageInfo<>());
        model.addAttribute("param",new HashMap<>());
        return "/modules/anchor/anchorApply";

    }
}
